package com.Extends.Interface;

public class Dog extends Animal implements Jumping{
    public Dog() {
    }

    public Dog(String name, int age) {
        super(name, age);
    }
    public void eat(){
        System.out.println("狗吃骨头");
    }
    public void jump(){
        System.out.println("狗跳的很低");
    }
}
